//
//  Tire.h
//  Chapt10_CarPartsInit_v10-01
//
//  Created by Ronald Ram on 13/02/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface Tire : NSObject 
{
    //data members or instance variables
    float pressure;
    float threadDepth;
}

//Convinience init methods...
-(id) initWithPressure: (float) pressure;
-(id) initWithThreadDepth: (float) threadDepth;
-(id) initWithPressure: (float) pressure        //Designated Initializer!!
           threadDepth: (float) threadDepth;

-(void) setPressure: (float) pressure;          //M001: set Pressure
-(float) pressure;                              //M002: get Pressure

-(void) setThreadDepth: (float) threadDepth;    //M003: set threadDepth
-(float) threadDepth;                           //M004: get threadDepth

@end
